package com.xyxeshang.es.music.backend.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

/**
 * @author xyx-Eshang
 */
@JsonIgnoreProperties("handler")
public class Song {
	private String songId;
	private String songName;
	private Integer songDuration;
	private String songLyric;
	private String albumId;

	private Album album;
	private List<Artist> artistList;
	private Integer songLikeCount;
	private Integer songCommentCount;
	private List<SongComment> songCommentList;


	@Override
	public String toString() {
		return "Song{" +
				"songId='" + songId + '\'' +
				", songName='" + songName + '\'' +
				", songDuration=" + songDuration +
				", songLyric='" + songLyric + '\'' +
				", albumId='" + albumId + '\'' +
				", album=" + album +
				", artistList=" + artistList +
				", songLikeCount=" + songLikeCount +
				", songCommentCount=" + songCommentCount +
				", songCommentList=" + songCommentList +
				'}';
	}

	public String getSongId() {
		return songId;
	}

	public Song setSongId(String songId) {
		this.songId = songId;
		return this;
	}

	public String getSongName() {
		return songName;
	}

	public Song setSongName(String songName) {
		this.songName = songName;
		return this;
	}

	public Integer getSongDuration() {
		return songDuration;
	}

	public Song setSongDuration(Integer songDuration) {
		this.songDuration = songDuration;
		return this;
	}

	public String getSongLyric() {
		return songLyric;
	}

	public Song setSongLyric(String songLyric) {
		this.songLyric = songLyric;
		return this;
	}

	public String getAlbumId() {
		return albumId;
	}

	public Song setAlbumId(String albumId) {
		this.albumId = albumId;
		return this;
	}

	public Album getAlbum() {
		return album;
	}

	public Song     setAlbum(Album album) {
		this.album = album;
		return this;
	}

	public List<Artist> getArtistList() {
		return artistList;
	}

	public Song setArtistList(List<Artist> artistList) {
		this.artistList = artistList;
		return this;
	}

	public Integer getSongLikeCount() {
		return songLikeCount;
	}

	public Song setSongLikeCount(Integer songLikeCount) {
		this.songLikeCount = songLikeCount;
		return this;
	}

	public Integer getSongCommentCount() {
		return songCommentCount;
	}

	public Song setSongCommentCount(Integer songCommentCount) {
		this.songCommentCount = songCommentCount;
		return this;
	}

	public List<SongComment> getSongCommentList() {
		return songCommentList;
	}

	public Song setSongCommentList(List<SongComment> songCommentList) {
		this.songCommentList = songCommentList;
		return this;
	}
}
